import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const L_xin_r: Array<RouteRecordRaw> = [
    {
        path: '/home',
        name: 'home',
        component: () => import('../views/lx/Home.vue')
    },
    // 用户登录页面
    {
        path: '/userlogin',
        name: 'userlogin',
        component: () => import('../views/lx/user/login/UserLogin.vue')
    },
    // 用户注册页面
    {
        path: '/userregister',
        name: 'userregister',
        component: () => import( '../views/lx/user/resigter/UserResiter.vue')
    },


    // 医生登录页面
    {
        path: '/doctorlogin',
        name: 'doctorlogin',
        component: () => import('../views/lx/doctor/DoctorLogin.vue')
    },
    // 管理员登录页面
    {
        path: '/adminlogin',
        name: 'adminlogin',
        component: () => import('../views/lx/admin/AdminLogin.vue')
    },
]


export default L_xin_r
